package com.guaoran.common.domain;

import java.util.Date;

/**
 * @author : 孤傲然
 * @description : demo
 * @date :2019/10/15 16:16
 */
public class Demo {
    private Long id ;
    private String name;
    private int age;
    private Date createTime;

    public Demo(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Demo(Long id, String name, int age, Date createTime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.createTime = createTime;
    }

    public Demo() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", createTime=" + createTime +
                '}';
    }
}
